POV-Ray : Newsgroups : povray.general : Ray Intersection : Re: Ray Intersection Server Time
19 Nov 2024 05:38:52 EST (-0500)
  Re: Ray Intersection  
From: Mike Williams
Date: 30 Apr 2002 13:47:56
Message: <u$SwSFAAjtz8Ewmb@econym.demon.co.uk>
Wasn't it Alastair Murray who wrote:
>Regardless, I still need a way of knowing how the y-coordinate at any
>particular point on a height field.

#declare Point = trace(My_Heightfield, <X,0,Z>, y);
#declare Y = Point.y;

(Actually that assumes that your height field always has y positive.)

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.